const menuList = [
  {
    name: "首页",
    menuIcon: "el-icon-house",
    id: "homePage",
    pathName: "homePage",
    componentName: import("@/views/homePage/Project"),
  },
  {
    name: "项目管理",
    menuIcon: "el-icon-folder",
    id: "project",
    pathName: "project",
    componentName: "Project",
    sub: [
      {
        name: "项目列表",
        id: "project",
        menuIcon: "el-icon-folder",
        pathName: "project",
        componentName: import("@/views/project/Project"),
        child: [
          {
            name: "编辑项目",
            id: "EditProject",
            pathName: "EditProject",
            hidden: true,
            componentName: import("@/views/project/pages/editProject/EditProject"),
            type: "add,edit",
            used: false
          },
          {
            name: "项目详情",
            id: "ProjectDetail",
            pathName: "ProjectDetail",
            hidden: true,
            componentName: import("@/views/projectdetail/ProjectDetail"),
            type: "all",
            used: false
          },
          // {
          //   name: "信息中心",
          //   id: "MessageCenter",
          //   pathName: "MessageCenter",
          //   hidden: true,
          //   componentName: import("@/views/xin_project_detail/message_center"),
          //   type: "all",
          //   used: false
          // },
          {
            name: "报备媒体",
            id: "IntendedMedia",
            pathName: "IntendedMedia",
            hidden: true,
            componentName: import("@/views/intendedMedia/IntendedMedia"),
            type: "all",
            used: false
          },
          {
            name: "媒体需求",
            id: "projectMediaRequirements",
            pathName: "projectMediaRequirements",
            hidden: true,
            componentName: import("@/views/mediaRequirements/MediaRequirements"),
            type: "all",
            used: false
          },
          {
            name: "文件管理",
            id: "projectFile",
            pathName: "projectFile",
            hidden: true,
            componentName: import("@/views/projectFile/ProjectFile"),
            type: "all",
            used: false
          },
        ],
      },
      {
        name: "其他项目",
        id: "otherProject",
        menuIcon: "el-icon-date",
        pathName: "otherProject",
        componentName: import("@/views/otherProject/OtherProject"),
      },
      {
        name: "爱省鲸订单",
        id: "mjShopOrder",
        menuIcon: "el-icon-date",
        pathName: "mjShopOrder",
        componentName: import("@/views/mjShopOrder/MjShopOrder"),
      },
    ],
  },
  // {
  //   name: "项目管理",
  //   menuIcon: "el-icon-folder",
  //   id: "project",
  //   pathName: "project",
  //   componentName: import("@/views/project/Project"),
  //   child: [
  //     {
  //       name: "编辑项目",
  //       id: "EditProject",
  //       pathName: "EditProject",
  //       hidden: true,
  //       componentName: import("@/views/project/pages/editProject/EditProject"),
  //       type: "add,edit",
  //       used: false
  //     },
  //   ],
  // },
  {
    name: "订单管理",
    menuIcon: "el-icon-s-order",
    id: "order",
    pathName: "order",
    componentName: import("@/views/order/Order"),
    child: [
      {
        name: "编辑订单",
        id: "EditOrder",
        pathName: "EditOrder",
        hidden: true,
        componentName: import("@/views/order/pages/editOrder/EditOrder"),
        type: "add,edit",
        used: false
      },
      {
        name: "编辑订单成本",
        id: "EditCostOrder",
        pathName: "EditCostOrder",
        hidden: true,
        componentName: import("@/views/order/pages/editCost/EditCost"),
        type: "add,edit",
        used: false
      },
    ],
  },
  {
    name: "用户管理",
    menuIcon: "el-icon-s-custom",
    id: "normalUser",
    pathName: "normalUser",
    componentName: import("@/views/normalUser/NormalUser"),
  },
  {
    name: "商务管理",
    menuIcon: "icon-shangwufuwu",
    id: "business",
    pathName: "business",
    componentName: import("@/views/business/Business"),
  },
  {
    name: "商务客户管理",
    menuIcon: "icon-kehu",
    id: "businessAccount",
    pathName: "businessAccount",
    componentName: "BusinessAccount",
    sub: [
      {
        name: "客户列表",
        id: "businessAccount",
        menuIcon: "icon-kehu",
        pathName: "businessAccount",
        componentName: import("@/views/businessAccount/BusinessAccount"),
        child: [
          {
            name: "编辑商务客户",
            id: "EditBusinessAccount",
            pathName: "EditBusinessAccount",
            hidden: true,
            componentName: import("@/views/businessAccount/pages/editBusinessAccount/EditBusinessAccount"),
            type: "add,edit",
            used: false
          },
          {
            name: "跟进记录",
            id: "Follow",
            pathName: "Follow",
            hidden: true,
            componentName: import("@/views/businessAccount/pages/follow/Follow"),
            type: "all",
            used: false
          },
          {
            name: "编辑跟进记录",
            id: "EditFollow",
            pathName: "EditFollow",
            hidden: true,
            componentName: import("@/views/businessAccount/pages/editFollow/EditFollow"),
            type: "add,edit",
            used: false
          },
        ]
      },
      {
        name: "客户统计管理",
        id: "businessAccountCount",
        menuIcon: "icon-shangwufuwu",
        pathName: "businessAccountCount",
        componentName: import("@/views/businessAccountCount/BusinessAccountCount"),
      },
    ],
  },
  {
    name: "工资表管理",
    menuIcon: "el-icon-wallet",
    id: "payRoll",
    pathName: "payRoll",
    componentName: import("@/views/payRoll/PayRoll"),
  },
  {
    name: "媒体管理",
    menuIcon: "el-icon-video-camera",
    id: "medium",
    pathName: "medium",
    componentName: "Medium",
    sub: [
      {
        name: "媒体列表",
        id: "medium",
        menuIcon: "el-icon-video-camera",
        pathName: "medium",
        componentName: import("@/views/medium/Medium"),
      },
      {
        name: "其他项目",
        id: "mediumOtherProject",
        menuIcon: "el-icon-video-camera",
        pathName: "mediumOtherProject",
        componentName: import("@/views/mediumOtherProject/MediumOtherProject"),
      },
      {
        name: "媒体方",
        id: "mediaParty",
        menuIcon: "el-icon-date",
        pathName: "mediaParty",
        componentName: import("@/views/mediaParty/MediaParty"),
      },
      {
        name: "媒体日历",
        id: "mediumDate",
        menuIcon: "el-icon-date",
        pathName: "mediumDate",
        componentName: import("@/views/mediumDate/MediumDate"),
      },
      {
        name: "媒体统计",
        id: "mediumCount",
        menuIcon: "el-icon-date",
        pathName: "mediumCount",
        componentName: import("@/views/mediumCount/MediumCount"),
      },
    ],
  },
  {
    name: "媒体资源管理",
    menuIcon: "el-icon-video-camera",
    id: "media",
    pathName: "media",
    componentName: "Media",
    sub: [
      {
        name: "媒体资源",
        id: "media",
        menuIcon: "el-icon-video-camera",
        pathName: "media",
        componentName: import("@/views/media/Media"),
      },
      {
        name: "媒体资源类型",
        id: "mediaType",
        menuIcon: "el-icon-video-camera",
        pathName: "mediaType",
        componentName: import("@/views/mediaType/MediaType"),
      },
    ],
  },
  {
    name: "系统管理",
    menuIcon: "iconxitong1",
    id: "Sys",
    pathName: "sys",
    componentName: "Sys",
    sub: [
      {
        name: "角色管理",
        id: "Role",
        menuIcon: "iconxitong1",
        pathName: "role",
        componentName: import("@/views/sys/userRole/UserRole")
      },
      {
        name: "系统参数管理",
        id: "sysLabel",
        menuIcon: "iconxitong1",
        pathName: "sysLabel",
        componentName: import("@/views/sys/sysLabel/SysLabel"),
      },
      {
        name: "账号管理",
        id: "ManagerUser",
        menuIcon: "iconxitong1",
        pathName: "managerUser",
        componentName: import("@/views/sys/companyUser/CompanyUser"),
        child: [
          {
            name: "编辑账号",
            id: "EditCompanyUser",
            pathName: "EditCompanyUser",
            hidden: true,
            componentName: import("@/views/sys/companyUser/pages/editUser/CompanyUser"),
            type: "all",
            used: false
          },
          {
            name: "权限设置",
            id: "upCompanyUser",
            pathName: "upCompanyUser",
            hidden: true,
            componentName: import("@/views/sys/companyUser/pages/jurisdiction/CompanyPower"),
            type: "all",
            used: false
          },
        ],
      },
      {
        name: "消息模板管理",
        id: "notifyTemplate",
        menuIcon: "iconxitong1",
        pathName: "notifyTemplate",
        componentName: import("@/views/notifyTemplate/NotifyTemplate"),
      },
    ]
  },
];
export default menuList;
